package office.preview.word.jacob.core;
import office.preview.jacob.core.ConverHtml;
import office.preview.jacob.enums.Properties;

public class WordToHtml extends ConverHtml{
	/**
	 * 把word转成html
	 * e://aaaa.doc
	 * c://aaaa.html
	 * @param wordPath
	 * @param htmlPath
	 */
	public  void converHtml(String filePath,String tofilePath)
	{
		super.Application = office.preview.jacob.enums.Application.Word.getValue();
		super.Property = Properties.Word.getValue();
		//7为txt格式， 8保存为html格式  
		super.Variant = 8;
		toHtml(filePath, tofilePath);
	}
	
	
}
